﻿namespace Harness.Commands
{
    using System.Collections.Generic;

    internal class RefreshCommand : ICommand
    {
        #region Public Methods

        public void SyntaxCheck(IHarness harness, IEnumerable<object> args)
        {
            // none
        }

        public dynamic Execute(IHarness harness, IEnumerable<object> args)
        {
            // http://msdn.microsoft.com/ja-jp/library/aa768363(en-us,VS.85).aspx
            // REFRESH_COMPLETELY
            IE.ActiveBrowser.Refresh2(3);

            return null;
        }
        
        #endregion
    }
}
